package controllers

import javax.inject.{Inject, Singleton}
import net.osin.playscalajs.shared.SharedMessages
import play.api.libs.json.{JsError, Json, Reads}
import play.api.mvc.{AbstractController, ControllerComponents}

@Singleton
class ReactController @Inject()(cc: ControllerComponents) extends AbstractController(cc) {

  def index = Action { implicit request =>
    Ok(views.html.react_index(SharedMessages.itWorks))
  }

}
